<?php /* Smarty version 2.6.18, created on 2016-12-13 11:14:19
         compiled from student/splace.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<!--主要内容开始-->
<div class="content-wrapper">
	<section class="content">
		<div class="row">
			<section class="col-lg-12 connectedSortable">
				<div class="box box-default box-solid">
					<div class="box-header with-border">
						<span class="fa fa-table" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
						<p class="box-title">学生人数分布</p>
						<input type="button" onclick="printa()" value="在线打印" class="btn btn-success btn-sm" style="float:right; color:#fff;"/>
					</div>
					<div class="box-body"  id="print_ddd">
						<h4 class="text-center">中小学、特殊教育学生变动情况</h4>
						<div class="col-sm-3 col-xs-3">
							<p>学校代码：<span><?php echo $this->_tpl_vars['scode']; ?>
</span></p>
						</div>
						<div class="col-sm-3 col-xs-3">
							<p>学校名称：<span><?php echo $this->_tpl_vars['sname']; ?>
</span></p>
						</div>
						<div class="col-sm-3 col-xs-3">
							<p>单位：<span>人</span></p>
						</div>
						<div class="col-sm-3 col-xs-3">
							<p><?php echo $this->_tpl_vars['smname']; ?>
</p>
						</div>
						<table class="table table-bordered table-condensed">
							<tr>
								<td rowspan="2"> </td>
								<td rowspan="2">编号</td>
								<td rowspan="2">毕业生数</td>
								<td colspan="2">招生数</td>
								<td colspan="<?php echo $this->_tpl_vars['len']+2; ?>
">在校生数</td>
								<td rowspan="2">预计毕业生数</td>
							</tr>
							<tr>
								<td>合计</td>
								<td>受过学前教育</td>
								<td>合计</td>
								<td>其中女</td>
								<?php $_from = $this->_tpl_vars['grade_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']['grade_name']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
							</tr>
							<tr>
								<td>甲</td>
								<td>乙</td>
								<td>（1）</td>
								<td>（2）</td>
								<td>（3）</td>
								<td>（4）</td>
								<td>（5）</td>
								<td>（6）</td>
								<td>（7）</td>
								<td>（8）</td>
								<td>（9）</td>
								<td>（10）</td>
								<td>（11）</td>
								 
							</tr>
							<tr>
								<td>总计</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['all']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>女</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['girl']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>少数民族</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['nation']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>五年制</td>
								<td>04</td>
								<td>134</td>
								<td>145</td>
								<td>234</td>
								<td>134</td>
								<td>145</td>
								<td>234</td>
								<td>134</td>
								<td>145</td>
								<td>234</td>
								<td>134</td>
								<td>145</td>
								 
							</tr>
							<tr>
								<td>复式班</td>
								<td>05</td>
								<td>134</td>
								<td>145</td>
								<td>234</td>
								<td>134</td>
								<td>145</td>
								<td>234</td>
								<td>134</td>
								<td>145</td>
								<td>234</td>
								<td>134</td>
								<td>145</td>
								 
							</tr>
							<tr>
								<td>重读生</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['state']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>重读中：女</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['stategirl']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>寄宿生</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['model']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>随迁子女</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['nocity']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>其中：外省迁入</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['noprovince']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;本省外县迁入</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['province']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>进城务工人员随迁子女</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['farm']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>其中：外省迁入</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['farmnop']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;本省外县迁入</td>
								<td>01</td>

								<?php $_from = $this->_tpl_vars['lists']['farmp']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>农村留守儿童</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['left']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>总计中：随班就读小计</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['read']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;女</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['readgirl']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;少数民族</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['readnation']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;寄宿生</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['1readmode']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>视力残疾</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['1disability']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>听力残疾</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['2disability']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>智力残疾</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['3disability']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>其他残疾</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['4disability']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>分年龄：<?php echo $this->_tpl_vars['age']; ?>
岁及以下</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['0age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['age']+1; ?>
岁</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['1age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['age']+2; ?>
岁</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['2age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['age']+3; ?>
岁</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['3age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['age']+4; ?>
岁</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['4age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['age']+5; ?>
岁</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['5age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['age']+6; ?>
岁</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['6age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['age']+7; ?>
岁</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['7age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['age']+8; ?>
岁</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['8age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['age']+9; ?>
岁</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['9age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
							<tr>
								<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['age']+10; ?>
岁及以上</td>
								<td>01</td>
								<?php $_from = $this->_tpl_vars['lists']['10age']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								<td><?php echo $this->_tpl_vars['value']; ?>
</td>
								<?php endforeach; endif; unset($_from); ?>
								
							</tr>
						</table>
					</div><!--box-body -->
				</div><!--box box-default box-solid-->
			</section>

		</div><!--row-->
	</section>
</div>
<!--主要内容结束-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--兼容高版本的jquery-->
<script src="static/js/jquery-migrate.min.js"></script>
<script language="javascript" src="static/js/jquery.jqprint-0.3.js"></script>
<script language="javascript">
function printa(){
$("#print_ddd").jqprint({
	debug: true, //如果是true则可以显示iframe查看效果（iframe默认高和宽都很小，可以再源码中调大），默认是false
	importCSS: true, //true表示引进原来的页面的css，默认是true。（如果是true，先会找$("link[media=print]")，若没有会去找$("link")中的css文件）
	printContainer: true, //表示如果原来选择的对象必须被纳入打印（注意：设置为false可能会打破你的CSS规则）。
	operaSupport: true//表示如果插件也必须支持歌opera浏览器，在这种情况下，它提供了建立一个临时的打印选项卡。默认是true
	});
}
</script>